package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IRoleService {
    void save(Role role);
    void delete(Long id);
    void update(Role role);
    Role get(Long id);
    List<Role> list();
    PageResult query(QueryObject qo);
    List<Role> listAll();
}
